package com.lw.common;

import lombok.Data;

import java.io.Serializable;

@Data
public class Message implements Serializable {
    public static final long serialVersionUID = 42L;

    private String sender;//发送方
    private String receiver;//接收方
    private String content;//消息内容
    private String sendTime;//发送时间
    private String msgType;//消息类型

    //文件相关字段
    private byte[] fileBytes;
    private int fileLength = 0;//文件大小
    private String src;//源文件路径
    private String fileName;//文件名
    private boolean sendFileOver = false;//文件传输完毕标志，true传输完毕
}
